<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../dist/style/css/base.css">
    <script>
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 640) deviceWidth = 640;
        document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
    </script>
</head>

<body>

    <div class="warp h">
        <!--header-->
        <header class="hd br">
            <a href="#123" class="l-icon only-icon">
            <i class="iconfont icon-left1"></i>      
        </a>
            <p class="tit2">
                绑定银行卡
            </p>

        </header>

        <ul class="msg-bar">
            <li>

                <span class="l">持卡人</span>
                <input type="text" class="input_txt">


            </li>
            <li>

                <span class="l">银行卡号</span>
                <input type="text" class="input_txt">


            </li>
            <li>
                <a href="#">
                    <span class="l">所属银行</span>
                    <span class="r">农业银行 <i class=" iconfont icon-left"></i></span>
                    
                </a>
            </li>
            <li>
                <a href="#">
                    <span class="l">开户省份</span>
                    <span class="r">广东省 <i class=" iconfont icon-left"></i></span>
                    
                </a>
            </li>
            <li>
                <a href="#">
                    <span class="l">开户市</span>
                    <span class="r">深圳市 <i class=" iconfont icon-left"></i></span>
                    
                </a>
            </li>
            <li>
                <a href="#">
                    <span class="l">支行</span>
                    <span class="r">南山支行 <i class=" iconfont icon-left"></i></span>
                    
                </a>
            </li>
        </ul>


        <p class="card-msg-1">
            若找不到支行请选择市分行或分行营业部
        </p>

        <a href="#123" class="save-btn">
            保存
        </a>
        <p class="card-msg-2">
            *此银行卡作为您的返钱账户
        </p>

        <div class="line-box"></div>

        <div class="pd-box"></div>




    </div>

    <script src="../dist/js/base.js"></script>

    <script>
        // 矫正rem
        function correctrem() {
            var rem_full_width = $("<div id='rem-test' style='width:7.5rem'></div>").appendTo($('body')).width();
            var device_width = Math.min(document.documentElement.clientWidth, 640);
            if (rem_full_width !== device_width) {
                document.documentElement.style.fontSize = (device_width / 7.5) * (device_width / rem_full_width) + 'px';
            }
            $('#rem-test').remove();
        }
        correctrem();
    </script>

</body>

</html>